<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="jquery-1.7.2.min.js"></script>
		<script>
			$(function(){
				$('#btn1').click(function(){
					$('#btn2').off('click').on('click',function(){
						alert(2222);
					})
				})
			})
		</script>
	</head>
	<body>
		<input type="button" id="btn1" value="给按钮2绑定单击事件" />
		<input type="button" id="btn2" value="按钮2" />
	</body>
</html>
